package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 物料产品表
 * @Author: jeecg-boot
 * @Date:   2024-08-31
 * @Version: V1.0
 */
@Data
@TableName("wm_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wm_item对象", description="物料产品表")
public class WmItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**产品物料名称*/
	@Excel(name = "产品物料名称", width = 15)
    @ApiModelProperty(value = "产品物料名称")
    private java.lang.String name;
	/**产品物料编码*/
	@Excel(name = "产品物料编码", width = 15)
    @ApiModelProperty(value = "产品物料编码")
    private java.lang.String code;
    /**尺寸*/
    @Excel(name = "尺寸", width = 15)
    @ApiModelProperty(value = "尺寸")
    private java.lang.String size;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String specification;
	/**单位*/
	@Excel(name = "单位", width = 15, dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    @ApiModelProperty(value = "单位")
    private java.lang.String unitOfMeasure;
    /**产品物料标识*/
    @Excel(name = "产品物料标识", width = 15, dicCode = "item_or_product")
    @Dict(dicCode = "item_or_product")
    @ApiModelProperty(value = "产品物料标识")
    private java.lang.String itemOrProduct;
	/**物料类型ID*/
	@Excel(name = "物料类型ID", width = 15)
    @ApiModelProperty(value = "物料类型ID")
    private java.lang.String wmItemTypeId;
	/**合同ID*/
	@Excel(name = "合同ID", width = 15)
    @ApiModelProperty(value = "合同ID")
    private java.lang.String wmContractId;
    /**是否合同产品*/
    @Excel(name = "是否合同产品", width = 15, dicCode = "is_contract_product")
    @Dict(dicCode = "is_contract_product")
    @ApiModelProperty(value = "是否合同产品")
    private java.lang.String isContractProduct;
    /**任务ID*/
    @Excel(name = "任务ID", width = 15)
    @ApiModelProperty(value = "任务ID")
    private java.lang.String wmTaskId;
    /**阶数*/
    @Excel(name = "阶数", width = 15)
    @ApiModelProperty(value = "阶数")
    private java.lang.Integer level;
    /**导入批次号*/
    @ApiModelProperty(value = "导入批次号")
    private java.lang.String batchNo;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String file;
    /**BOM版本*/
    @Excel(name = "BOM版本", width = 15)
    @ApiModelProperty(value = "BOM版本")
    private java.lang.String version;
    /**所属项目*/
    @Excel(name = "所属项目", width = 15)
    @ApiModelProperty(value = "所属项目")
    private java.lang.String projectName;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15, dicCode = "enable_flag")
	@Dict(dicCode = "enable_flag")
    @ApiModelProperty(value = "是否启用")
    private java.lang.String enableFlag;
	/**删除者*/
	@Excel(name = "删除者", width = 15)
    @ApiModelProperty(value = "删除者")
    private java.lang.String deleteBy;
	/**删除时间*/
	@Excel(name = "删除时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间")
    private java.util.Date deleteTime;

    /**二维码*/
    @TableField(exist = false)
    @ApiModelProperty(value = "二维码")
    private java.lang.String qrcode;
}
